/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nominalitzacions.ui;

import java.io.FileNotFoundException;
import java.io.IOException;


/**
 *
 * @author sonia.sandalinas
 */
public class PrincipalViewController {
    private ChangePasswordViewController PDM;
    private PrincipalView PV;
    private LanguageViewController LVC;
   // private HelpViewController HVC;
    private SettingsViewController SVC;
    private DictionaryEditorController DEC;
     public PrincipalViewController () throws FileNotFoundException, IOException {
            PV = new PrincipalView(this);
            PDM = new ChangePasswordViewController();
            LVC = new LanguageViewController();
     //       HVC = new HelpViewController();
            SVC = new SettingsViewController();
            DEC = new DictionaryEditorController();
    }
     public void ViewRedefinir () {
         PDM.setVisible();
     }
     public void setVisible() {
         PV.setVisible();
     }
     public void ViewIdiom () {
         LVC.setVisible();
     }
     public void ViewHelp(String s) {
         //HVC.setVisible(s);
     }
     public void ViewSettings(){
         SVC.setVisible();
     }
     public boolean sendString(String s){
         return true;
     }
     /*public void ViewDictionary(){
         DEC.setVisible();
     }*/
}